package com.study.train.business.service;

import com.study.train.common.resp.PageResp;
import com.study.train.business.req.TrainQueryReq;
import com.study.train.business.req.TrainSaveReq;
import com.study.train.business.resp.TrainQueryResp;

/**
* @description:
* @author: ZhangYujie
* @time: 2025/8/5
*/
public interface ITrainService {

    void save(TrainSaveReq req);

    PageResp<TrainQueryResp> queryList(TrainQueryReq req);

    void delete(Long id);
}
